//
//  HomeModel.swift
//  TianTianBiTing
//
//  Created by Gox mac 2 on 2018/12/19.
//  Copyright © 2018 Gox_WallyDiao. All rights reserved.
//

import Foundation
import HandyJSON

struct TopBannerImagesModel: HandyJSON {
    var pic: String?
    var clickUrl: String?
    var name: String?
    var target: String?
}

struct CentreItemImagesModel: HandyJSON {
    var pic: String?
    var clickUrl: String?
    var name: String?
    var target: String?
}

struct CentreBannerImagesModel: HandyJSON {
    var cSrc: String?
    var cate: Int = 0
    var createTimeStr: String?
    var id: Int = 0
    var imageUrl: String?
    var isH5: Int = 0
    var updateTimeStr: String?
}

struct OtherListenModel: HandyJSON {
    var id: Int = 0
    var title: String?
    var describe: String?
    var imageUrl: String?
    var sort: Int = 0
    var useMockData: Int = 0
    var subProgram: [OtherListenSubData]?
}

struct OtherListenSubData: HandyJSON {
    var id: Int = 0 
    var title: String?
    var describe: String?
    var status: Int = 0
    var totalSeason: Int = 0
    var imageUrl: String?
    var shareImageUrl: String?
    var detailImageUrl: String?
    var playUrl: String?
    var category: Int = 0
    var listenNum: Int = 0
    var shareStatus: String?
    var shareTotal: String?
    var deadline: String?
    var survivalTime: Int = 0
    var createtime: Int = 0
    var groupStatus: Int = 0
    var useMockData: Int = 0
    var mockTotalUser: Int = 0
    var sort: Int = 0
    var flag: Int = 0
    var useH5: Int = 0
    var h5Url: String?
    var totalCount: NSNumber?
    var everySeasonBuy: Int = 0
}

struct ListenListModel: HandyJSON {
    var id: Int = 0
    var categoryId:Int = 0
    var title: String?
    var describe: String?
    var statusStr: String?
    var status: Int = 0
    var totalSeason: Int = 0
    var imageUrl: String?
    var shareImageUrl: String?
    var detailImageUrl: String?
    var playUrl: String?
    var category: Int = 0
    var listenNum: Int = 0
    var shareStatus: String?
    var deadline: String?
    var markStatus: Int = 1
    var createtime: Int = 0
    var currentSeason: Int = 0
    var tryStatus: Int = 0
    var groupStatus: Int = 0
    var useMockData: Int = 0
    var mockTotalUser: Int = 0
    var sort: Int = 0
    var flag: Int = 0
    var useH5: Int = 1
    var totalCount: NSNumber = 0.0
    var everySeasonBuy: Int = 0
    var listen: Bool = false
    var h5Url: String = ""
}

struct CommonBannerListModel: HandyJSON {
    var cSrc: String?
    var cate: Int = 0
    var id: Int = 0
    var imageUrl: String?
    var isH5: Int = 0
    var programId:Int = 0
    
}

struct PartSeasonModel: HandyJSON {
    var programId: Int = 0
    var totalSeason: Int = 0
    var area: NSArray = []
}

struct HotSearchWordModel: HandyJSON {
    var create_user: String?
    var name: String?
    var id: Int = 0
    var describe: String?
    var type: Int = 0
    var status:Int = 0
    
}


